package org.example.chatroom.demos.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.chatroom.demos.model.User;

@Mapper
public interface UserMapper {

    Integer insertUser(User user) ;

     User queryPasswordByName(@Param("userName") String userName) ;

     String queryNameById(@Param("userId") Integer userId);
}
